package components;

import uml.Visitable;
import uml.Visitor;

public class Argument implements Visitable{
	private String name;
	private String type;
			
	public Argument(){}
	
	public Argument(String name){
		this.name = name;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public String toString(){
		return type + " " + name;
	}

	@Override
	public void accept(Visitor visitor) {
		visitor.visit(this);
	}
}
